﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DadayunApi.Model
{
    public class WorkFlowInfo
    {
        public string Id { get; set; }
        public string Title { get; set; }
        public bool IsImportant { get; set; }
        public bool IsUrgent { get; set; }
        public EWFStatus Status { get; set; }
        public string WFTplId { get; set; }
        public string CurrentNodeId { get; set; }
        public string CurrentNodeName { get; set; }
        public string CreatorPositionId { get; set; }
        public string Creator { get; set; }
        public string CreatorName { get; set; }
        public DateTime CreateTime { get; set; }
    }

    public enum EWFStatus
    {
        Finished=1,Paused=2,Stopped=3,Creating=4,Runing=5

    }
}
